#include"speaker.h"
speaker::speaker() {
	this->init();
}
void speaker::give_name(char c) {
	name += c;
}
void speaker::set_grade(int index, double grade) {
	grades[index] = grade;
}
void speaker::init() {
	this->grades[0] = 0;
	this->grades[1] = 0;
	this->name = "competitor";
}
std::string speaker::get_name()const {
	return name;
}
double speaker::get_grade(int index) const {
	return grades[index];
}